package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	SchoolId int    `gorm:"type:int" json:"schoolId"`
	Username string `gorm:"type:varchar(20)" json:"username"`
	Password string `gorm:"type:char(11)" json:"password"`
}

type School struct {
	gorm.Model
	Name    string `gorm:"type:varchar(20)" json:"name"`
	Address string `gorm:"type:varchar(50)" json:"address"`
	Img     string `gorm:"type:varchar(500)" json:"img"`
	Mobile  string `gorm:"type:char(11)" json:"mobile"`
}
